package com.cn.wanxi.service;

import com.cn.wanxi.model.ResultModel;
import com.cn.wanxi.model.UserModel;

import java.util.List;

public interface UserService {

    ResultModel add(UserModel userModel);
    ResultModel update(UserModel userModel);
    List<UserModel> findAll();

    UserModel findById(int i);
}
